GBML manual / Constants

WARP_NONE

No warp: the sprite is drawn straight again.

Works differently on Game Boy - The Game Boy moves the two sprite pieces of a picture sideways by a different amount on every line; the picture can be 16 pixels wide and 16 tall at most, only one picture at a time is bent, and a line may show the line above's shift.

Works differently on Game Boy Color - The Game Boy Color moves the two sprite pieces of a picture sideways by a different amount on every line; the picture can be 16 pixels wide and 16 tall at most, only one picture at a time is bent, and a line may show the line above's shift.

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

WARP_NONE: constant

<!-- GENERATED by tools/gbabel_looks.py from its LOOKS registry. Never edit this page: change the registry and re-run it. -->

Description

Names "no warp", for sprite_warp. Giving it to sprite_warp switches the object's warp off and hands its row-by-row slot straight back.

This is how you turn a warp off. There is nothing to hide or pause: off means the slot is free again, and the sprite is drawn straight.

Example

sprite_warp(WARP_NONE, 0, 0);

Switches the warp off. The last two numbers are ignored when the look is NONE.

See also: sprite_warpWARP_WAVE